#include "mainscreen.h"
#include "ui_mainscreen.h"
#include "mainwindow.h"
#include <exception>
#include <QDebug>

MainScreen::MainScreen(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::MainScreen)
{
    ui->setupUi(this);
}

MainScreen::~MainScreen()
{
    delete ui;
}

void MainScreen::on_recipesButton_clicked()
{
    emit change_index(1);
}

void MainScreen::on_whatToEatButton_clicked()
{
    emit whatToEat();
}
